import http from '@/utils/request'

// 上传单个文件
export function upload(params) {
  return http.upload('/api/cloudStorage/upload', params)
}

// 删除单个文件
export function singleDelete(params) {
  return http.get('/api/cloudStorage/delete', params)
}

// 批量删除文件
export function batchDelete(params) {
  return http.get('/api/cloudStorage/batchDelete', params)
}
